package com.phiture.erp.produce.core.event;

import com.phiture.erp.produce.dal.entity.ErpProduceInItemsDO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

@Getter
public class ProduceInEvent extends ApplicationEvent {
    private final List<ErpProduceInItemsDO> inItemsDOList;
    private final boolean approve;

    public ProduceInEvent(Object source, List<ErpProduceInItemsDO> inItemsDOList, boolean approve) {
        super(source);
        this.inItemsDOList = inItemsDOList;
        this.approve = approve;
    }

}
